package ar.com.photo_admin.domain

class Role {

	public static String CLIENT_ROLE = "ROLE_CLIENT"
	public static String PHOTOGRAPHER_ROLE = "ROLE_PHOTOGRAPHER"
	public static String USER_ROLE = "ROLE_USER"
	public static String ROLE_ADMIN = "ROLE_ADMIN"
	
	String authority

	static mapping = {
		cache true
	}

	static constraints = {
		authority blank: false, unique: true
	}
	
	String toString() {
		authority
	}
}
